import configurationChildren from './configurationChildren';

const configuration = [
  {
    path: 'configuration',
    component: () => import(/* webpackChunkName: "platform" */ '@/layout/platform'),
    name: 'Configuration',
    alwaysShow: true,
    meta: {
      title: 'configuration',
      code: 'Configuration',
      icon: 'el-icon-s-tools',
      deleteCode: true
    },
    children: [
      ...configurationChildren,
      {
        // 培训类型
        path: 'trainrole2',
        hidden: true,
        meta: {
          title: 'trainingType',
          code: 'TrainingType'
        }
      },
      {
        // 培训科目
        path: 'trainrole5',
        hidden: true,
        meta: {
          title: 'trainningSubTemp',
          code: 'SubjectTemplate'
        }
      }
    ]
  }
];

export default configuration;
